project(cmsis_rtos_trace)

aux_source_directory(./ DIR_LIB_SRCS)

add_library(${PROJECT_NAME}  ${DIR_LIB_SRCS})

target_include_directories(${PROJECT_NAME}  PUBLIC
                                            "config"
                                            "include"
                                            "kernelports/FreeRTOS/config"
                                            "kernelports/FreeRTOS/include"
                                            "streamports/File/include"
                                            "streamports/File/config")
add_dependencies(${PROJECT_NAME} kernal_cmsis ulog)
target_link_libraries(${PROJECT_NAME} kernal_cmsis ulog)
target_compile_options(${PROJECT_NAME} PRIVATE -g)